package com.hyb.hybmodulesblog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户部落关联表增删改查对象 tribe_user
 * 
 * @author hyb
 * @date 2023-03-11
 */
public class TribeUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 部落id */
    @Excel(name = "部落id")
    private Long tribeId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    public void setTribeId(Long tribeId) 
    {
        this.tribeId = tribeId;
    }

    public Long getTribeId() 
    {
        return tribeId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tribeId", getTribeId())
            .append("userId", getUserId())
            .toString();
    }
}
